package com.fortune.service;

import com.fortune.dto.in.dStoreIn.*;
import com.fortune.dto.in.dealerWarehouseReceiptWarehouse.ConfirmStorage;
import com.fortune.dto.in.dealerWarehouseReceiptWarehouse.DealerWarehouseReceiptWarehouseDto;
import com.fortune.vo.dStorage.DstorageInfo;
import com.fortune.vo.dStore.DstoreInfo;
import com.fortune.vo.dStoreIn.DStoreInInfoDetail;
import com.fortune.vo.dStoreIn.DinitDetails;
import com.fortune.vo.dStoreIn.DstoreInInfo;
import com.fortune.vo.dStoreIn.MData;

import java.util.List;

/**
 * Created by Administrator on 2018/5/26 0026.
 */
public interface DstoreInService {

    List<DstoreInInfo> findStoreList(DstoreInListDto dstoreInListDto,String did);

    List<DstoreInfo> findStore(String did);

    List<MData> findMid(String did);

    List<MData> findDidPro(String did);

    List<MData> findMidPro(String id);

    int findStoreListCount(String did);

    int queryDInitInfoIsExist(String did,String num,String storeId);

    int addDInitInfo(String userId,String did,String id,DstoreInitAddDto addDto);

    int editDInitInfo(String did,DstoreInitEditDto editDto);

    int deleteDInitInfo(String did,String id);

    DinitDetails queryStoreInitDetails(String did,String id);

    int storeInitConfirm(String did,String id,String userId);

    List<DstorageInfo> findStorageList(DealerWarehouseReceiptWarehouseDto dealerDto,String did);

    int findStorageListCount(DealerWarehouseReceiptWarehouseDto dealerDto,String did);

    int confirmStorage(ConfirmStorage confirmStorage,String did,String chickId);

    int queryDStoreInIsExist(String num,String did);

    int addDStoreIn(String userId,String did,DStoreInAddDto addDto);

    int queryEditIsExist(DStoreInEditDto editDto, String did);

    int editDStoreIn(String userId,String did,DStoreInEditDto editDto);

    int deleteDStoreIn(String did,String id);

    List<DStoreInInfoDetail> queryDStoreInInfoDetail(String did,String id);
}
